import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
import store from './store' // store
import uView from "uview-ui";
import Tabbar from '@/component/tabbar.vue';
Vue.component('Tabbar', Tabbar)
// #ifdef H5
// 提交前需要注释  本地调试使用
// const vconsole = require('vconsole')
// Vue.prototype.$vconsole = new vconsole() // 使用vconsole
// #endif
Vue.prototype.$store = store
Vue.use(uView);
import {
	getToken
} from '@/utils/auth'
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif